ActivityNodeReader Class

Activity class corresponds to the item node in the manifest.

Namespace: Microsoft.LearningComponents.Manifest

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public class ActivityNodeReader : IXPathNavigable

Properties
Name Description
Ð ChildActivities

Return list of children of this activity.

Ð CompletionThreshold

Returns the <adlcp:completionThreshold> value, or null if none.

Ð DataFromLms

Returns the <adlcp:dataFromLMS> value, or String.Empty if there is none.

Ð HideAbandonUI

Represents the <item>/<adlnav:presentation>/<adlnav:navigationInterface>/<adlnav:hideLMSUI> value of "abandon". Default value is false.

Ð HideContinueUI

Represents the <item>/<adlnav:presentation>/<adlnav:navigationInterface>/<adlnav:hideLMSUI> value of "continue". Default value is false.

Ð HideExitUI

Represents the <item>/<adlnav:presentation>/<adlnav:navigationInterface>/<adlnav:hideLMSUI> value of "exit". Default value is false.

Ð HidePreviousUI

Represents the <item>/<adlnav:presentation>/<adlnav:navigationInterface>/<adlnav:hideLMSUI> value of "previous". Default value is false.

Ð Id

An identifier for the activity that is unique within the package.

Ð IsVisible

Returns true if the activity should be visible.

Ð MasteryScore

The passing score for this activity. This is only valid for SCORM 1.2 content.

Ð MaximumTimeAllowed

Maximum time allowed on this activity. This is only valid for SCORM 1.2 content.

Ð Metadata

Return a reader of the activity level metadata.

Ð Prerequisites

Return the prerequisites for this activity. That is, the conditions that must be met in order for this activity to be activated. Returns null if there are no prerequisites.

Ð Resource

Primary resource for the activity. For activities that do not have a resource, this returns null.

Ð ResourceParameters

Parameters that should be passed to the resource at run time. If there are no parameters for this resource, the property returns String.Empty.

Ð Sequencing

Sequencing information for this node.

Ð TimeLimitAction

Action to perform when this activity exceeds the timelimit. Corresponds to the <adlcp:timeLimitAction> node.

Ð Title

Title (description) of the activity. Represents the <title> node under the <item>.

Methods
Name Description
Ð CreateNavigator

Return the XPathNavigator for this resource.

Remarks

Corresponds to an <item> node under the <manifest>/<organizations>/<organization> hierarchy.